package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel("货代信息")
public class Freight {
    private int id;
    @NotEmpty(message = "货代名称不能为空！")
    @ApiModelProperty(value = "货代名称", required = true)
    private String name;
    private String user;
    private String mobile;
    private String email;
    private String transportation;
    private int userId;
    private String airline;
}
